from django.urls import path
from .views import AccountListCreateView, AccountDetailView

urlpatterns = [
    path('accounts/', AccountListCreateView.as_view(), name='account-list-create'),  # 列出和创建账户
    path('accounts/<int:pk>/', AccountDetailView.as_view(), name='account-detail'),  # 获取、更新和删除特定账户
]
